The attached files replicate the tables and figures in the paper �The Propagation of Monetary Policy Shocks in a Heterogeneous Production Economy.�Codes are written in Matlab. All codes require running Gensys which is freely available from Chris Sims website and also included in subfolder /Figure1. The Matlab Econometrics toolbox is required.Subfolders /Figure1, /Figure2, /Figure3, /Figure4_LHS, /Figure4_RHS, /Table3, /Table4, contain the respective codes and files.The file runcodes.m in the root directory runs all codes.Output is saved as .pdf and .eps files in the respective /FigureX subfolders:Figure 1: IRFs_mu_parameter_params_1_sectors_341.pdf Figure 2: IRFS_full_heterogeneity_MP_rules_normalized_smoothing.pdfFigure 3: Sectoral_ranks_cases_4_and_1_341_sectors.pdfFigure 4 LHS: IRFs_Nsectors_empirical_aggregation_infl.pdf, IRFs_Nsectors_empirical_aggregation_C.pdfFigure 4 RHS: IRFs_Nsectors_C_aggregation_C.pdf, IRFs_Nsectors_C_aggregation_infl.pdf The table output is Table 3: Table_3.csv Table 4: Table4.csv.